package com.estun.backroundManagementService.modules.alarm.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * @author yusiocng
 * @date 2023/12/19
 * @description 告警实体类
 */

@Data
@TableName("station_alarm")
public class StationAlarm {

    private Long id;
    private String stationId;
    private String  alarmIndex;
    private Integer status;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
    /**
     * 推送状态 默认0未推送 1已推送
     */
    private Integer submitStatus;
    /**
     * 推送次数
     */
    private Integer submitNumber;
}
